package com.ailanyin.admin.config;

import com.ailanyin.common.model.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 系统配置
 *
 * @author ailanyin
 * @version 1.0
 * @since 2021/10/18 0018 下午 13:21
 */
@Configuration
public class SysConfig {

    @Bean
    public IdWorker idWorker() {
        return new IdWorker(1,1);
    }
}
